package com.example.fw;

import org.openqa.selenium.By;

public class NavigationHelper extends HelperWithWebDriverBase {

	
	public NavigationHelper(ApplicationManager manager){
		super(manager);
	}
	
	protected void goToGroupListPage() {
	//	if (getCurrentUrl() != "http://localhost/addressbookv4.1.4/group.php") {
		click(By.linkText("groups"));		
	//	}

	}
	protected void openMainPage() {
		//String baseUrl;
		//baseUrl = "http://localhost/";
		//openUrl(baseUrl + "/addressbookv4.1.4/");
		openUrl("http://localhost/addressbookv4.1.4/");
	}

	protected void returnToHomePage() {
		click(By.linkText("home page"));
	}

}
